package cn.yunhe.service;

import cn.yunhe.dao.WordsMapper;
import cn.yunhe.entity.Words;
import cn.yunhe.util.SqlSessionFactoryUtil;
import org.apache.ibatis.session.SqlSession;

public class WordsService {

    SqlSession session= SqlSessionFactoryUtil .getSession();
    WordsMapper wm=session.getMapper(WordsMapper.class);
    public Words getZWords (String title, String context){
        return wm.getZWords(title,context);

    }


}
